package com.sc.ktapplication.module.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.sc.ktapplication.R
import com.sc.ktapplication.module.entity.Equipment

class EquipmentAdapter(layoutResId: Int) : BaseQuickAdapter<Equipment, BaseViewHolder>(layoutResId),LoadMoreModule {

    override fun convert(holder: BaseViewHolder, item: Equipment) {
        holder.setText(R.id.txtName,item.code)
    }
}